import request from "../utils/request";
export default {
    login(data) {
        return request.post('/users/login', data)
    },
    addOrEditAccount(data) {
        return request.post('/users/addOrEditAccount', data)
    },
    saveUserInfo(data) {
        return request.post('/users/saveUserInfo', data)
    },
    getAccountList(data) {
        return request.post('/users/getAccountList', data)
    },
    delAccount(data) {
        return request.post('/users/delAccount', data, 'delete')
    },
    getUserInfo(data) {
        return request.get('/users/getUserInfo', data)
    }
}